<?php

class Unit{

	private $id, $action, $target, $startPos;

	protected function setId($id){
		$this -> id = $id;
	}

	public function getId(){
		return $this -> id;
	}

	protected function setAction($action){
		$this -> action = $action;
	}

	public function getAction(){
		return $this -> action;
	}

	protected function setTarget($target){
		$this -> target = $target;
	}

	public function getTarget(){
		return $this -> target;
	}

	protected function setStartPos($startPos){
		$this -> startpos = $startPos;
	}

	public function getStartPos(){
		return $this -> startpos;
	}
	
}

?>